/**
 * @file      stk_accept_encoding.h
 * @copyright Copyright (c) 2021, CYG-ZCW Co., Ltd. All Rights Reserved.
 * @brief     brief
 * @author    caiwang213@qq.com
 * @date      2021-03-22 23:40:14
 *
 * @note
 *  stk_accept_encoding.h defines
 */
#ifndef __STK_ACCEPT_ENCODING_H__
#define __STK_ACCEPT_ENCODING_H__

#include "stk_base.h"

namespace stk
{
class STK_API AcceptEncoding : public MsgField
{
public:
    AcceptEncoding();
    AcceptEncoding(const AcceptEncoding &src);
    AcceptEncoding(const char *buf);
    virtual ~AcceptEncoding();

    AcceptEncoding & operator= (const AcceptEncoding &src);

public:
    virtual	void 	   clear();
    virtual	bool	   isvalid() const;
    virtual int32_t	   to_str(string &str);
    virtual int32_t	   parse(const char *buf, int len);

public:
    string		       m_value;                         /**< value for AcceptEncoding (size of attachments) */
};
}
#endif
